﻿namespace NJQuery.Configuration {
	using System.Configuration;

	/// <summary>
	/// Represents a theme element in a configuration file.
	/// </summary>
	public class Theme : ConfigurationElement {


		#region Constructors

		/// <summary>
		/// Initializes a new instance of the <see cref="Theme"/> class.
		/// </summary>
		public Theme() { }

		#endregion


		#region Properties

		/// <summary>
		/// Gets or sets the invariant name associated with the theme.
		/// </summary>
		[ConfigurationProperty("name", IsRequired = true, IsKey = true, DefaultValue="")]
		public virtual string Name {
			get { return this["name"] as string; }
			set { this["name"] = value; }
		}

		#endregion


	}

}